//
//  QLMCommonMapView.m
//  Demo
//
//  Created by 龚碧容 on 2017/9/19.
//  Copyright © 2017年 hwd. All rights reserved.
//

#import "QLMCommonMapView.h"

@implementation QLMCommonMapView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

-(id)initWithFrame:(CGRect)frame{
    self=[super initWithFrame:frame];
    if (self){
        [self creatmainView:frame];
    }
    return self;
}

- (void)creatmainView:(CGRect)frame{
    
    self.backgroundColor=[UIColor whiteColor];
    
    UIView *coverView = [[UIView alloc] initWithFrame:[UIScreen mainScreen].bounds];
    coverView.backgroundColor = [UIColor blackColor];
    coverView.alpha = 0.7;
    coverView.userInteractionEnabled=YES;
    [self addSubview:coverView];
}


@end
